<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>标签_<?php echo CMS_WEBNAME; ?></title>
<link rel="stylesheet" href="/css/bootstrap.min.css"><link rel="stylesheet" href="/css/style.css"><script src="/js/jquery.min.js"></script><script src="/js/bootstrap.min.js"></script></head><body>

{include file="common/header"/}
<div class="container"><div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-12 col-sm-9">
<div class="bread"><a href="/"><?php echo CMS_INDEXNAME; ?></a> > 标签</div>
<h1 class="page-header">最新标签</h1>

<?php $posts=tagslist(); foreach($posts as $row) { ?>
<a target="_blank" href="/tag<?php echo $row['id']; ?>.html"><?php echo $row['tag']; ?></a>&nbsp;
<?php } ?>

<h2>随机标签</h2>
<?php $posts=tagslist(array("row"=>30,"orderby"=>"rand()")); foreach($posts as $row) { ?>
<a target="_blank" href="/tag<?php echo $row['id']; ?>.html"><?php echo $row['tag']; ?></a>&nbsp;
<?php } ?>
</div><!--/.col-xs-12.col-sm-9-->

<div class="col-xs-12 col-sm-3 sidebar-offcanvas" id="sidebar">
<div class="panel panel-info">
  <div class="panel-heading">热门推荐</div>
  <div class="list-group"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
  <a class="list-group-item" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><?php } ?>
  </div>
</div>
</div><!--/.sidebar-offcanvas-->
</div><!--/row--></div><!-- /.container -->
{include file="common/footer"/}</body></html>